<?php
Route::middleware([\Hilaoyu\LaravelExtend\Services\Auth\Middleware\AuthPrivateApiServiceDeDataMiddleware::class])
    ->prefix('auth')
    ->group(function () {
        Route::post('register/{guard}', 'AuthServiceController@register')->name('.register');
        Route::post('login/{guard}', 'AuthServiceController@login')->name('.login');
        Route::post('user-get/{guard}', 'AuthServiceController@userGet')->name('.user-get');
        Route::post('user-update/{guard}', 'AuthServiceController@userUpdate')->name('.user-update');
        Route::post('user-change-pass/{guard}', 'AuthServiceController@changePassword')->name('.user-change-pass');
    });